import request from '@/utils/processRequest';

// 获取任务列表
export function getAllModelFormData(data) {
  return request({
    url: '/modelForm/getAllModelFormData',
    method: 'post',
    data
  });
}

export function getTableHeader(params) {
  return request({
    url: '/dynamicHeader/findTableHeader',
    method: 'get',
    params
  });
}

// 根据FormGuid获取任务信息
export function getTaskInfoByFormGuid(data) {
  return request({
    url: '/modelForm/getTaskInfoByFormGuid',
    method: 'post',
    data
  });
}
